FlexReport for WinForms
TryGetValue メソッド (OrderedDictionary<TKey,TValue>)


C1.Report.4.6.2 アセンブリ > C1.Report.Util 名前空間 > OrderedDictionary<TKey,TValue> クラス : TryGetValue メソッド
The key of the value to get.
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of value. This parameter can be passed uninitialized.
Gets the value associated with the specified key.
シンタックス
'宣言
 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As System.Boolean
'使用法
 
Dim instance As OrderedDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
Dim value As System.Boolean
 
value = instance.TryGetValue(key, value)
public System.bool TryGetValue( 
   TKey key,
   out TValue value
)

パラメータ

key
The key of the value to get.
value
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of value. This parameter can be passed uninitialized.

戻り値の型

true if the OrderedDictionary<TKey,TValue> contains an element with the specified key; otherwise, false.
参照

参照

OrderedDictionary<TKey,TValue> クラス
OrderedDictionary<TKey,TValue> メンバ